package lzk.myshop.service;

import lzk.myshop.pojo.Classify;
import lzk.myshop.pojo.Goods;
import lzk.myshop.pojo.Merchant;

import java.util.Map;

public interface MerchantService {
    Map<String,Object> signIn(String account,String password);
    Map<String,Object> goodsOfMer(int merchantId);
    Map<String,Object> addGoods(Goods goods);
    Map<String,Object> allClassify(int merchantid);
    Map<String,Object> alterGoods(Goods goods);
    Map<String,Object> downGoods(int id);
    Map<String,Object> addClassify(Classify classify);
    Map<String,Object> deleteClassify(int id);
    Map<String,Object> getAllMerOrders(int merid);
    Map<String,Object> sentGoods(int id);
    Map<String,Object> create(Merchant merchant);
    Map<String,Object> deleteMer(int MerID);
}
